package com.css.zfzx.sjcj.modules.hddcActiveFaultPositionerror.repository;

import com.css.zfzx.sjcj.modules.hddcActiveFaultPositionerror.repository.entity.HddcActivefaultpositionerrorEntity;
import com.css.zfzx.sjcj.modules.hddcActiveFaultPositionerror.viewobjects.HddcActivefaultpositionerrorQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author zyb
 * @date 2020-11-30
 */
public interface HddcActivefaultpositionerrorNativeRepository<T> {

    <S extends T> Iterable<S> batchSave(Iterable<S> var1);

    Page<HddcActivefaultpositionerrorEntity> queryHddcActivefaults(HddcActivefaultpositionerrorQueryParams queryParams, int curPage, int pageSize,String sort,String order);

    List<HddcActivefaultpositionerrorEntity> exportYhDisasters(HddcActivefaultpositionerrorQueryParams queryParams);
}
